import 'package:flutter/material.dart';

class IconText extends StatelessWidget {
  const IconText({super.key, required this.imgPath, required this.text});
  final imgPath;
  final text;

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        Image(
          width: 50, 
          height: 50,
          image: AssetImage(imgPath), 
          fit:BoxFit.cover,
        ),
        Text(text)
      ],
    );
  }

}